package com.it.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_product_sku")
public class ProductSku {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer productId;
    private String name;
    private String img;
    private Double originalPrice;
    private Double sellPrice;
    private Double discounts;
    private Integer stock;
    private Long createTime;
    private Long updateTime;
    private Integer version;
    @TableLogic
    private Integer isDeleted;
}
